package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Mobile   string `gorm:"type:varchar(11);not null"`
	Password string `gorm:"type:varchar(32);not null"`
}

type Bai struct {
	gorm.Model
	Title string  `gorm:"type:varchar(30);not null"`
	Image string  `gorm:"type:varchar(500);not null"`
	Text  string  `gorm:"type:varchar(30);not null"`
	Price float64 `gorm:"type:decimal(10,2);not null"`
}
